<fieldset>
  <legend>Shim Listing For Annotation - 
    <% if params[:attribute_name] =~ /category/i %>
		  <%=h Category.find(params[:value]).name %>
		<% else %>
		  <%=h params[:value] %>
    <% end %>		
	</legend>
			
  <% if @shims.size < 1 %>
    <div class="no_annotations"><%= @message %></div>
  <% else %>
    <%= will_paginate @shims %>
	 <%= render :partial => 'shim', :collection => @shims %>
	 <%= will_paginate @shims %>
  <% end %>
</fieldset>